/***********************************************************************************************************************
 *  FILE DESCRIPTION
 *  ------------------------------------------------------------------------------------------------------------------*/
/** \file
 *  \brief        Boot manager implementation
 *
 *  --------------------------------------------------------------------------------------------------------------------
 *  COPYRIGHT
 *  --------------------------------------------------------------------------------------------------------------------
 *  \par Copyright
 *  \verbatim
 *  Copyright (c) 2015 by Vector Informatik GmbH.                                                  All rights reserved.
 *
 *                This software is copyright protected and proprietary to Vector Informatik GmbH.
 *                Vector Informatik GmbH grants to you only those rights as set out in the license conditions.
 *                All other rights remain with Vector Informatik GmbH.
 *  \endverbatim
 */
/**********************************************************************************************************************/
/***********************************************************************************************************************
 *  AUTHOR IDENTITY
 *  --------------------------------------------------------------------------------------------------------------------
 *  Name                          Initials      Company
 *  --------------------------------------------------------------------------------------------------------------------
 *  Christian Baeuerle            CB            Vector Informatik GmbH
 *  --------------------------------------------------------------------------------------------------------------------
 *  REVISION HISTORY
 *  --------------------------------------------------------------------------------------------------------------------
 *  Version    Date        Author  Change Id        Description
 *  --------------------------------------------------------------------------------------------------------------------
 *  02.00.00   2015-02-28  CB                       First implementation
 **********************************************************************************************************************/
#ifndef __FBL_BM_H__
#define __FBL_BM_H__

/***********************************************************************************************************************
 *  VERSION
 **********************************************************************************************************************/

/* ##V_CFG_MANAGEMENT ##CQProject : FblMain_Bm CQComponent : Implementation */
#define FBLMAIN_BM_VERSION              0x0200u
#define FBLMAIN_BM_RELEASE_VERSION      0x00u

/***********************************************************************************************************************
 *  INCLUDES
 **********************************************************************************************************************/

#include "fbl_def.h"
#include "fbl_bmtypes.h"

/***********************************************************************************************************************
 *  TYPES
 **********************************************************************************************************************/

/* Pointer types to callout functions: */

/* Check if boot condition is fulfilled */
typedef tFblResult (* tBmCheckBootConditionFct)( tBmTargetHandle );

/* Perform action for fulfilled boot condition */
typedef void (* tBmCallFct)( tBmTargetHandle );

typedef struct tagBmCheckListEntry
{
   tBmCheckBootConditionFct   bmCheckBootCondFct;
   tBmCallFct                 bmCallFct;
   tBmTargetHandle            bmTargetHandle;
}tBmCheckListEntry;

/***********************************************************************************************************************
 *  GLOBAL FUNCTION PROTOTYPES
 **********************************************************************************************************************/

int V_API_NEAR main( void );

#endif /* __FBL_BM_H__ */
/***********************************************************************************************************************
 *  END OF FILE: FBL_BM.H
 **********************************************************************************************************************/

